package com.mao.proxy;

import com.mao.proxy.staticproxy.AliSmsService;
import com.mao.proxy.staticproxy.SmsProxyService;

public class StaticProxy {


    public static void main(String[] args) {
        String phone = "123";
        String content = "this is content";
        AliSmsService aliSmsService = new AliSmsService();
        SmsProxyService proxyService = new SmsProxyService(aliSmsService);
        proxyService.send(phone,content);
    }

}
